package com.ruoyi.strategwithtype.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 策略和类型的中间表对象 strategy_type
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public class StrategyType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 策略id */
    @Excel(name = "策略id")
    private Integer strategyId;

    /** 类型id */
    @Excel(name = "类型id")
    private Integer typeId;

    /** 逻辑删除 */
    private Integer isDeleted;

    public void setStrategyId(Integer strategyId) 
    {
        this.strategyId = strategyId;
    }

    public Integer getStrategyId() 
    {
        return strategyId;
    }
    public void setTypeId(Integer typeId) 
    {
        this.typeId = typeId;
    }

    public Integer getTypeId() 
    {
        return typeId;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("strategyId", getStrategyId())
            .append("typeId", getTypeId())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
